# -*- coding: utf-8 -*-
"""
通知系统 - URL配置
"""

from django.urls import path
from . import views

app_name = 'notifications'

urlpatterns = [
    # 页面视图
    path('', views.notification_list, name='list'),
    
    # API接口
    path('api/list/', views.api_notifications_list, name='api_list'),
    path('api/<int:notification_id>/read/', views.api_mark_as_read, name='api_mark_read'),
    path('api/read-all/', views.api_mark_all_as_read, name='api_read_all'),
    path('api/unread-count/', views.api_unread_count, name='api_unread_count'),
]
